package com.finance.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.finance.entity.Finance;

@Repository("FinanceDao")
public interface FinanceDao {

	public void insert(Finance finance);

	public List<Finance> findBySearch(@Param("search") Finance search,
			@Param("offset") int offset, @Param("rows") int rows);

	public int countSearch(@Param("search") Finance search);

}
